
@mixin flexstyle {
    display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.rotate{
        width: 100%;
        height: 100%;
        // background: url("../static/cricle.svg") no-repeat;
        // background-size: contain;
        position: absolute;
        top:0;
        @include flexstyle;
        .rotate-in{
            width: 90%;
            height: 90%;
            margin-top: 5%;
            position: absolute;
            z-index: 2;
            top: 0;
            left: 0;
            margin-left: 5%;
            background: url("../static/center-C.png") no-repeat;
            background-size: contain;
        }
        .rotate-out{
            width: 100%;
            height: 100%;
            background: url("../static/center-out.png") no-repeat;
            background-size: contain;
        }
    }
.rotate-all{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    @include flexstyle;
    .rotate-in{
        width: 90%;
        height: 90%;
        margin-top: 5%;
        left: 0;
        margin-left: 5%;
        z-index: 2;
        position: absolute;
        top: 0;
        background: url("../static/inC.png") no-repeat;
        background-size: contain;
    }
    .rotate-out{
        width: 100%;
        height: 100%;
        background: url("../static/outC.png") no-repeat;
        background-size: contain;
    }
}
@keyframes rotateIn {
    0% {
        transform-origin: center;
        transform: rotate(-360deg);
    }

    to {
        transform-origin: center;
        transform: none;
    }
}
@keyframes rotateInR {
    0% {
        transform-origin: center;
        transform: rotate(360deg);
    }

    to {
        transform-origin: center;
        transform: none;
    }
}
.rotateIn {
    animation-name: rotateIn
}
@mixin animation-base {
    animation-duration:5s;
    animation-timing-function:ease-in-out;
    animation-direction:alternate;
    animation-iteration-count:infinite;
}
@mixin animated {
    // animation-duration: 1s;
    // animation-fill-mode: both
    animation-name:rotateIn;
    @include animation-base;
    // animation-duration:4s;
    // animation-timing-function:ease;
    // animation-direction:alternate;
    // animation-iteration-count:1;
}
@mixin animatedR {

    animation-name:rotateInR;
    @include animation-base;
    // animation-duration:5s;
    animation-timing-function:ease-out;
}

.high-light{
    cursor: pointer;
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-linear-gradient(0deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.5),hsla(0,0%,100%,0));
    transform: skewx(-25deg);
    -o-transform: skewx(-25deg);
    -moz-transform: skewx(-25deg);
    -webkit-transform: skewx(-25deg);
    transition: all 2s ease;
    left: 100%;
}

.active-light{
    position: relative;
    padding: 20px 10px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 10px;
    transition: all .3s ease;
    overflow: hidden;


}
